package com.xbongbong.workflow.pojo.workorderv2.dto;

import com.xbongbong.workflow.domain.entity.WorkflowBackupDataEntity;
import com.xbongbong.workflow.pojo.WorkflowTransferPOJO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author 李翔
 * @date 2022/11/18
 * @description
 */
@Getter
@Setter
@ToString
public class WorkflowWorkOrderV2UpdateBackDTO {

    private Integer businessType;

    private Long taskId;

    private WorkflowTransferPOJO workflowTransferPOJO;

    private WorkflowBackupDataEntity workflowBackupDataEntity;

    public WorkflowWorkOrderV2UpdateBackDTO() {
    }

    public WorkflowWorkOrderV2UpdateBackDTO(Integer businessType, Long taskId, WorkflowTransferPOJO workflowTransferPOJO,WorkflowBackupDataEntity workflowBackupDataEntity) {
        this.businessType = businessType;
        this.taskId = taskId;
        this.workflowTransferPOJO = workflowTransferPOJO;
        this.workflowBackupDataEntity = workflowBackupDataEntity;
    }
}
